package com.kunsan.compose.widget

import androidx.compose.foundation.Image
import androidx.compose.foundation.clickable
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.painterResource
import com.kunsan.compose.R

@Composable
fun ExitAction(
    modifier: Modifier = Modifier,
    onCallAction: (Boolean) -> Unit,
) {
    val speakerIcon =
        painterResource(
            R.drawable.icon_chat_offline
        )
    Image(
        modifier = Modifier
            .clickable {
                onCallAction.invoke(true)
            },
        painter = speakerIcon,
        contentDescription = "",
    )
//    CallControlActionBackground(
//        modifier = modifier
//    ) {
//
//    }
}
